using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 医生分组关联表
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 医生分组关联表
    /// </summary>
    [SugarTable("mapping_doctorgroup", TableDescription = "医生分组关联表")]
    public class MappingDoctorgroup
    {
        /// <summary>
        /// id
        /// </summary>
        [SugarColumn(ColumnName = "id" ,IsIdentity = true, IsPrimaryKey = true)]
        public int id{ get; set; }
        
        /// <summary>
        /// 医生编码
        /// </summary>
        [SugarColumn(ColumnName = "DoctorCode")]
        public string? DoctorCode{ get; set; }
        
        /// <summary>
        /// 医生分组id
        /// </summary>
        [SugarColumn(ColumnName = "DoctorId")]
        public int? DoctorId{ get; set; }
        
        /// <summary>
        /// 岗位id
        /// </summary>
        [SugarColumn(ColumnName = "PositionId")]
        public int? PositionId{ get; set; }
        
    }
}